package com.tarena.lbs.basic.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tarena.lbs.basic.pojo.vo.AreaVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AreaMapper extends BaseMapper<AreaVO> {

    List<AreaVO> selectProvinces(Integer depth);

    List<AreaVO> selectProvincesByParentId(Long id);
}
